翻訳と辞書
Words near each other
・ Doubling Point Light
・ Doubling Point Range Lights
・ Doubling space
・ Doubling the cube
・ Doubling time
・ Doubling-oriented Doche–Icart–Kohel curve
・ Doubloon
・ Doublure
・ Doublure (bookbinding)
・ Doubly articulated consonant
・ Doubly connected edge list
・ Doubly fed electric machine
・ Doubly ionized oxygen
・ Doubly labeled water
・ Doubly linked face list
Doubly linked list
・ Doubly logarithmic tree
・ Doubly periodic function
・ Doubly special relativity
・ Doubly stochastic
・ Doubly stochastic matrix
・ Doubly stochastic model
・ Doubochinski's pendulum
・ Doubrava
・ Doubrava (Aš)
・ Doubrava (Karviná)
・ Doubravice
・ Doubravice (Strakonice District)
・ Doubravice (Trutnov District)
・ Doubravice (České Budějovice District)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Doubly linked list : ウィキペディア英語版
Doubly linked list

In computer science, a doubly linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two fields, called ''links'', that are references to the previous and to the next node in the sequence of nodes. The beginning and ending nodes' previous and next links, respectively, point to some kind of terminator, typically a sentinel node or null, to facilitate traversal of the list. If there is only one sentinel node, then the list is circularly linked via the sentinel node. It can be conceptualized as two singly linked lists formed from the same data items, but in opposite sequential orders.

The two node links allow traversal of the list in either direction. While adding or removing a node in a doubly linked list requires changing more links than the same operations on a singly linked list, the operations are simpler and potentially more efficient (for nodes other than first nodes) because there is no need to keep track of the previous node during traversal or no need to traverse the list to find the previous node, so that its link can be modified.
The concept is also the basis for the mnemonic link system memorization technique.
==Nomenclature and implementation==
The first and last nodes of a doubly linked list are immediately accessible (i.e., accessible without traversal, and usually called ''head'' and ''tail'') and therefore allow traversal of the list from the beginning or end of the list, respectively: e.g., traversing the list from beginning to end, or from end to beginning, in a search of the list for a node with specific data value. Any node of a doubly linked list, once obtained, can be used to begin a new traversal of the list, in either direction (towards beginning or end), from the given node.
The link fields of a doubly linked list node are often called next and previous or forward and backward. The references stored in the link fields are usually implemented as pointers, but (as in any linked data structure) they may also be address offsets or indices into an array where the nodes live.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Doubly linked list」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.